package com.usian.apis.service;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.RequestBody;

import java.nio.channels.Channel;

/*
* 微服务对外暴露的接口
* */
@Api(value = "频道管理",tags = "channel",description ="频道管理api" )
public interface AdchannelService {
    //查询频道
    public ResponseResult findBynameandpage( ChannelDto channelDto);
    //添加频道
    public ResponseResult add(AdChannel adChannel);
    //修改频道
    public ResponseResult edit(AdChannel adChannel);
    //删除频道
    public ResponseResult del(Integer id);
}
